<template>
  <!--5.信息查询-->
  <el-submenu index="5">
    <template slot="title">
      <i class="el-icon-location"></i>
      <span>信息查询</span>
    </template>
    <el-menu-item-group>
      <el-menu-item index="5-1" @click="toCargoApplyOrder">货物申请单</el-menu-item>
      <el-menu-item index="5-2" @click="toVehicleDispatchInfo">车辆调度信息</el-menu-item>
      <el-menu-item index="5-3" @click="toCargoConsignInfo">货物托运信息</el-menu-item>
      <el-menu-item index="5-4" @click="toCargoCheckupAndAcceptanceInfo">货物验收信息</el-menu-item>
      <el-menu-item index="5-5" @click="toCarTracking">车辆跟踪</el-menu-item>
    </el-menu-item-group>
  </el-submenu>
</template>

<script>
  export default {
    name: "SidebarInformationQuery",
    methods: {
      // 5.1货物申请单
      toCargoApplyOrder() {
        this.$router.push('/information/cargoApplyOrder')
      },
      // 5.2车辆调度信息
      toVehicleDispatchInfo() {
        this.$router.push('/information/vehicleDispatchInfo')
      },
      // 5.3货物托运信息
      toCargoConsignInfo() {
        this.$router.push('/information/cargoConsignInfo')
      },
      // 5.4货物验收信息
      toCargoCheckupAndAcceptanceInfo() {
        this.$router.push('/information/cargoCheckupAndAcceptanceInfo')
      },
      // 5.5 车辆跟踪(历史信息)
      toCarTracking() {
        this.$router.push('/information/carTracking')
      },
    },
  }
</script>

<style scoped>

</style>